package com.xindacloud.sms.adapter.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value = "提交短信参数DTO")
public class SubmitMessageParamDTO implements Serializable {

    @ApiModelProperty(value = "接受者号码", name = "recipientList", required = true)
    //@NotNull(message = "发送目标号码不能为空")
    private List<String> recipientList;
    @ApiModelProperty(value = "发送短信内容", name = "messageBody", required = true)
    //@NotBlank(message = "发送消息不能为空")
    private String messageBody;
    @ApiModelProperty(value = "发送短信内容条数", name = "messageCount", example = "1")
    private Integer messageCount = 1;
    @ApiModelProperty(value = "发送短信编码", name = "encoding")
    private String encoding;
    @ApiModelProperty(value = "发送短信类型,single(单发), mass(群发)", name = "smsType", allowableValues = "single,mass")
    private String smsType;
    @ApiModelProperty(value = "发件人", name = "sender", required = true)
    //@NotBlank(message = "发件人不能为空")
    private String sender;

}
